package com.dubbo.nacos.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tc
 * @date 2018/12/22
 */
//@RestController
@Service(version = "2.0.0")
public class DubboNacousDemoServiceImpl implements DubboNacousDemoService {

    @Override
    public String sayHello(String param) {
        return "Hello: " + param;
    }

}
